using B.S.RbacData.ErrorCode;
using ContentmanagementBaseRead.API.Dtos;
using MediatR;

namespace ContentmanagementBaseRead.API.Applications.Commands.Departments
{
    /// <summary>
    /// 获取一级科室信息列表命令
    /// </summary>
    public class GetFirstLevelDepartmentsCommand : IRequest<ApiPaging<List<DepartmentDtos>>>
    {


        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParendId { get; set; } = 0;


        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;

    }
} 